<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script>
console.log("a");
window.onload = function (){
    console.log("b");
};
console.log("c");
</script>
</head>
<!-- -->
<script>
console.log("d");
</script>

<body onload="console.log('e');">
<img src="./美女.jpg" alt="" onload="console.log('f');">

</body>

</html>
<script>
console.log("g");
</script>
<!--ldsjflk-->